import request from '../utils/request'

// 员工总数据列表
export const wagesCurrent = () => {
  return request.get('/wages/current')
}

// 查询薪资信息
export const wageslike = (data) => {
  return request.post('/wages/like', data)
}
//添加薪资
export const wagesAdd = (data) => {
  return request.post('/wages/add', data)
}

//未来薪资记录

export const wagesfutureLike = (data) => {
  return request.post('/wages/futureLike', data)
}

// 数据报表
export const countWages = (day) => {
  return request.get('/count/wages?date=' + day)
}
// :http://192.168.0.105:8080/count/wages?date=2024-08
